package email.model;

/**
 * 
 * @author Dominik Roth
 * This Exception is thrown if an email adress is in the wrong format.
 */
public class WrongEmailFormatException extends Exception {
	
	private String msg;
	
	public WrongEmailFormatException(String msg)
	{
		this.msg = msg;
	}
	
	public String getMessage()
	{
		return msg;
	}

}
